document.writeln("<div class=\'modal fade\' id=\'sign-modal\' tabindex=\'-1\' role=\'dialog\'>");
document.writeln("            <div class=\'modal-dialog modal-sm\' role=\'document\'>");
document.writeln("                <div class=\'modal-content\'>");
document.writeln("                    <button type=\'button\' class=\'close-modal\' data-dismiss=\'modal\' aria-label=\'Close\' id=\'closeLogin\'><span aria-hidden=\'true\'>&times;</span></button>");
document.writeln("                        <div class=\'modal-body\'>");
document.writeln("                        <ul class=\'nav nav-tabs\' role=\'tablist\'>");
document.writeln("                            <li role=\'presentation\' class=\'active\'>");
document.writeln("                                <a href=\'#signin-form\' aria-controls=\'signin-form\' role=\'tab\' data-toggle=\'tab\'>登录</a>");
document.writeln("                            </li>");
document.writeln("                        </ul>");
document.writeln("                        <div class=\'tab-content\'>");
document.writeln("                            <div role=\'tabpanel\' class=\'tab-pane active\'>");
document.writeln("                                <form action=\'#\' method=\'post\' onsubmit=\'return login()\'>");
document.writeln("                                    <div class=\'form-group\'>");
document.writeln("                                        <div class=\'input-group\'>");
document.writeln("                                            <div class=\'input-group-addon\'>");
document.writeln("                                                <i class=\'glyphicon glyphicon-user\' style=\'margin:0\'></i>");
document.writeln("                                            </div>");
document.writeln("                                            <input type=\'text\' name=\'id\' class=\'form-control\' placeholder=\'请输入账号\' id=\'id\' maxlength=\'8\'>");
document.writeln("                                        </div>");
document.writeln("                                    </div>");
document.writeln("                                    <div class=\'form-group\'>");
document.writeln("                                        <div class=\'input-group\'>");
document.writeln("                                            <div class=\'input-group-addon\'>");
document.writeln("                                                <i class=\'fa fa-lock\' style=\'margin:0;\'></i>");
document.writeln("                                            </div>");
document.writeln("                                            <input type=\'password\' name=\'password\' class=\'form-control\' placeholder=\'请输入密码\' id=\'password\'>");
document.writeln("                                        </div>");
document.writeln("                                    </div>");
document.writeln("                                    <div class=\'form-inline\'>");
document.writeln("                                        <div class=\'form-group\'>");
document.writeln("                                            <div class=\'input-group\'>");
document.writeln("                                                <input type=\'text\' name=\'checkCode\' class=\'form-control\' placeholder=\'请输入验证码\' id=\'checkCode\'>");
document.writeln("                                            </div>");
document.writeln("                                        </div>");
document.writeln("                                        <img src=\'/apis/checkcode/get_check_code\' id=\'checkCodeImage\' />");
document.writeln("                                    </div>");
document.writeln("                                    <div class=\'form-group remember-login\'>");
document.writeln("                                        <a class=\'pull-right\' href=\'reset_password/index.html\'>忘记密码？</a>");
document.writeln("                                    </div>");
document.writeln("                                    <div class=\'form-group\'>");
document.writeln("                                        <input class=\'btn btn-primary\' name=\'submit\' type=\'submit\' value=\'进入Cloud Lab\'>");
document.writeln("                                    </div>");
document.writeln("                                    <div class=\'form-group error-msg\' style=\'display: none;\' id=\'loginError\'>");
document.writeln("                                        <div class=\'alert alert-danger\' role=\'alert\' id=\'loginErrorMessage\'></div>");
document.writeln("                                    </div>");
document.writeln("                                </form>");
document.writeln("                            </div>");
document.writeln("                        </div>");
document.writeln("                    </div>");
document.writeln("                </div>");
document.writeln("            </div>");
document.writeln("        </div>");